﻿SeadragonJSButton = function(tooltip, srcRest, srcGroup, srcHover, srcDown, onPress, onRelease, onClick, onEnter, onExit) {
    /// <summary>Creates a button with the given tooltip, state images and event handlers.</summary>
    /// <param name="tooltip"></param>
    /// <param name="srcRest">Image of the button</param>
    /// <param name="srcGroup"></param>
    /// <param name="srcHover">Mouse over image of the button</param>
    /// <param name="onPress">OnPress associated event of the button</param>
    /// <param name="onRelease">OnRelease associated event of the button</param>
    /// <param name="onClick">onClick associated event of the button</param>
    /// <param name="onEnter">onEnter associated event of the button</param>
    /// <param name="onExit">onExit associated event of the button</param>
    /// <field name="elmt" type="string">HTML Element. The element representing this button. This property is a semantic alias; re-assigning it has no effect, but modifying it does.</field>
    /// <returns type="Object"></returns>
}

SeadragonJSButton.prototype =
{
    elmt: null,

    notifyGroupEnter: function() {
        /// <summary>Notifies this button that the mouse has entered a button group that contains this button.</summary>
    },

    notifyGroupExit: function() {
        /// <summary>Notifies this button that the mouse has exited a button group that contains this button.</summary>
    }
}
